/*
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
  * Parameter description. Simple enough not to require an interface. 
  *
  * 
  * @author Waleed Kadous
  * @version $Id: Param.java,v 1.1.1.1 2002/06/28 07:36:16 waleed Exp $
  */

package tclass;   

public class Param {
    private String name;
    private String description; 
    private String defaultValue; 
    
    public Param(String name, String desc, String def){
	this.name = name; 
	description = desc; 
	defaultValue = def; 
    }
    
    public String getName(){
	return name; 
    }

    public String getDesc(){
	return description; 
    }
    
    public String getDefault(){
	return defaultValue; 
	
    }
    @Override
    public String toString(){
	return name + ": " + description + ". Default value: " + defaultValue;
    }

}
